<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: 86153
  Date: 2023/3/22
  Time: 9:52
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + request.getContextPath() + "/";
%>


<html>
  <head>
    <base href="<%=basePath%>">
    <link href="css/haiersoft.css" rel="stylesheet" type="text/css" media="screen,print"/>
    <link href="css/print.css" rel="stylesheet" type="text/css" media="print"/>
    <script src="js/jquery-1.10.1.min.js"></script>
    <script src="js/side.js" type="text/javascript"></script>
    <script src="js/jquery-3.6.0.js"></script>
    <style>
      .tr1 {
        position: absolute;
        top: 100px;
      }

      .tdColor {
        width: 203px;
        height: 40px;
        background-color: #f2f2f2;
        color: #438eb9;
      }
    </style>
  </head>
  <body>
  <div id="MainForm">
    <div class="form_boxA">
      <div class="page">
        <a href="jsp/soldier.jsp?mobile=${mobile}"><img src="img/relo.png" style="width:25px;height:25px"></a>
      </div>
      <h2>企业用户列表</h2>
      <table class="tr1">
        <tr>
          <td class="tdColor">企业编号</td>
          <td class="tdColor">企业名称</td>
          <td class="tdColor">企业地点</td>
          <td class="tdColor">招聘要求</td>
          <td class="tdColor">招聘地点</td>
          <td class="tdColor">薪资范围</td>
          <td class="tdColor">公司账号</td>
        </tr>
        <c:forEach items="${enterpriseInfos}" var="s">
          <tr>
            <td>${s.comId}</td>
            <td>${s.comName}</td>
            <td>${s.comLocal}</td>
            <td>${s.recruitmentRequirements}</td>
            <td>${s.recruitmentPositions}</td>
            <td>${s.salaryRange}</td>
            <td>${s.comAccount}</td>
            <td>
              <a href="soldier_info/Enterprise_detail/${s.comAccount}/${mobile}">查看详情</a>
            </td>
          </tr>
        </c:forEach>
      </table>
    </div>
  </div>
  <div style="width: 100%;top: 90%;position: absolute;">
    <h2 style="color:red">注：企业邮箱为:企业账号+@163.com，如有意向可自行联系</h2>
  </div>
  </body>
</html>
